package com.eling.elcms.travel.model.view;


import com.eling.elcms.basedoc.model.EnumSerializer;
import com.eling.elcms.travel.model.PlanItemGroup.SignUpStatus;
import com.eling.elcms.travel.model.SignUpRegister;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;
import java.util.List;

/**
 * 报名登记视图
 * @author linjizeng
 *
 */
public class SignUpRegisterView {
	
	private List<SignUpRegister> signUpRegister;//报名
	
	private Long pkPlanItem;//报名团pk
	
	private Integer version;//报名团version
	
	private String year;//年度
	
	private String name;//计划名称
	
	private Long pkDestination;//目的地pk
	
	private String dname;//目的地名称
	
	private String verNumber; //版本号

	private Date startDate;//开始日期

	private Date endDate;//结束日期

	private Boolean limitmax;// 是否限制最多人数
	
	private Boolean limitmin;//是否限制最少人数
	
	private Integer maxpeople;//max人数
	
	private Integer minPeople;//min人数
	
	private Integer countMember;//已报名人数
	
	private SignUpStatus signUpStatus;
	
	public PayFul getPayFul() {
		return payFul;
	}

	public void setPayFul(PayFul payFul) {
		this.payFul = payFul;
	}

	private PayFul payFul;
	
	/** 报名状态 */
	@JsonSerialize(using = EnumSerializer.class)
	public static enum PayFul {
		Charge("收费中"),ChargeComplete("收费完成"),Review("已复核"),Adjustment("调整"),AdjustmentReview("调整复核");
		
		private String display;

		PayFul(String display) {
			this.display = display;
		}

		public String getDisplay() {
			return display;
		}
	}
	public List<SignUpRegister> getSignUpRegister() {
		return signUpRegister;
	}

	public void setSignUpRegister(List<SignUpRegister> signUpRegister) {
		this.signUpRegister = signUpRegister;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getVerNumber() {
		return verNumber;
	}

	public void setVerNumber(String verNumber) {
		this.verNumber = verNumber;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getMaxpeople() {
		return maxpeople;
	}

	public void setMaxpeople(Integer maxpeople) {
		this.maxpeople = maxpeople;
	}

	public Integer getMinPeople() {
		return minPeople;
	}

	public void setMinPeople(Integer minPeople) {
		this.minPeople = minPeople;
	}

	public Integer getCountMember() {
		return countMember;
	}

	public void setCountMember(Integer countMember) {
		this.countMember = countMember;
	}

	public Long getPkDestination() {
		return pkDestination;
	}

	public void setPkDestination(Long pkDestination) {
		this.pkDestination = pkDestination;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getPkPlanItem() {
		return pkPlanItem;
	}

	public void setPkPlanItem(Long pkPlanItem) {
		this.pkPlanItem = pkPlanItem;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public SignUpStatus getSignUpStatus() {
		return signUpStatus;
	}

	public void setSignUpStatus(SignUpStatus signUpStatus) {
		this.signUpStatus = signUpStatus;
	}

	public Boolean getLimitmax() {
		return limitmax;
	}

	public void setLimitmax(Boolean limitmax) {
		this.limitmax = limitmax;
	}

	public Boolean getLimitmin() {
		return limitmin;
	}

	public void setLimitmin(Boolean limitmin) {
		this.limitmin = limitmin;
	}
	
}
